$(document).ready(function () {
	// body...

	// validate

	$('#form-signin').validate({
		rules:{
			name:{
				required: true
			},
			email:{
				required: true,
				email: true
			},
			password: {
				minlength: 6,
				required: true
			},
			confirmation: {
				equalTo: "#password"
			}
		},
		success: function(element){
			element.text('OK!').addClass('valid')
		}
	});
});